home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '90 / Source Code ƒ.sea / Source Code ƒ / MPW C ƒ / C Include ƒ / Source Files / CIncludesCode.h / CIncludesCode.h.rsrc < prev    next >
Encoding:
Text File  |  1990-03-31  |  464 b   |  19 lines  |  [TEXT/MPS ]

  1.     2 R~TEXTMPS n.rowBytes = offRowBytes;
  2.     SetRect(&(offScreen.bounds), 0, 0, windowWidth, windowHeight);
  3. }
  4.  
  5.  
  6. void makeWindow()
  7. {
  8.     Rect    bounds;
  9.  
  10.     SetRect(&bounds, windowLeft, windowTop, windowLeft + windowWidth, windowTop + windowHeight);
  11.     display = NewWindow(nil, &bounds, windowTitle, true, noGrowDocProc, (WindowPtr) -1, true, 0L);
  12. }
  13.  
  14.  
  15. void printWindow()
  16. {
  17.     TPPrPort    pport;
  18.     THPrint        hPrint;
  19.     TP